Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

PuTTY PSCP.exe to SFTP with Server-based Agent

This is what worked for me:
IN DESIGNER:
1. Agent Properties: Security: 2. Allow restricted operations.

ON SERVER:
1. Create service for running the java-based Domino Server Controller:
- your agent will be able to call Shell() on the server if the server is started with the Domino Server Controller.

CMD Window: (type)
sc create "Lotus Domino Server Controller" binpath= "D:\Lotus\Domino\nservice.exe -jc =D:\Lotus\Domino\notes.ini" displayname= "Lotus Domino Server Controller"
<< change the paths to fit your server >>
You should see a success message after you issue the command.

2. Services: Disable the Lotus Domino Service
3. Set Lotus Domino Server Controller to run automatically. You can also let the service interact with the desktop.
4. (optional on Lotus Notes client machine) Create a "Lotus Domino Console" shortcut. i.e. C:\Program Files\IBM\Lotus\Notes\jconsole.exe
- this allows you to run the console outside of the Administrator client.
5. Stop the Domino Server via the q command on in the Administrator client.
6. Start the new Lotus Domino Controller service.
- test your connection to the server from the Notes Client. Test the jconsole shortcut if you created one in step 4 above.

PUTTY:
1. Download the PuTTY kit.
2. Install PuTTY on server.
3. (optional)Add PuTTY directory to path on server
4. Test transmitting file via CMD window target SFTP site. Save the command as you will use this in your server-based agents Shell() call.

ACCEPT SFTP HOST SITE KEY AS SYSTEM:
DOWNLOAD PSTools.exe and install on Server:
http://technet.microsoft.com/en-us/sysinternals/bb896649

1. Copy the psexe.exe TO C: on Domino Server
2. On server's Run field type:
psexe -i -s cmd.exe

The CMD.exe will run as nt authority\system
- type whoami in window to confirm

3. Navigate to the PuTTY directory and paste your pscp string. Accept the sites host key.
- When the server-based agent runs, it will not be prompted to accept the key. If you don't do this there is no way for you to type Y and enter to accept the key.

TEST YOUR AGENT:

1. open the jconsole and run your agent on the server from your application or run the agent from the console window.




Feedback response number WEBB8MSKGV created by ~Carol Nontooings on 10/19/2011

Domino 8.51FP2 64bit on Windows Ser... (~Chloe Umkroste... 27.May.10)
. . Have you opened a ticket? Does it r... (~Sanjay Quettum... 27.May.10)
. . Check security settings. (~Rex Pretoolito... 27.May.10)
. . Notes Client 8.5.1 and windows 7 lo... (~Olga Nimjumize... 19.Jul.10)
. . . . we are having same issue, any solut... (~Mario Zekgerot... 24.Nov.10)
. . PuTTY PSCP.exe to SFTP with Server-... (~Carol Nontooin... 19.Oct.11)
. . . . Update (~Carol Nontooin... 4.Nov.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS